﻿--[[
   @brief    main_bottom logic for  mainframe bottom part
   @author   harleyxwang
   @version  1.0
   @date     2016-02-01
--]]

main_bottom_control =
{
    init = function()
        base_utility.log("main_bottom_control.init called");
        --ierd_tgp.tpf_ui.Require("main_bottom\\view.lua");
    end;
    
    on_login_success = function(event_id, json_param)
        --登录成功，设置uin
    end; 

    button_toolbox_window_clicked = function()
        local param ={};
        param["type"] = "tools";
        param["sub_page"] = "NET_ACCE";
        param["game_id"] = 0;
        web_utility.open_link(base_utility.table_to_json(param));
        tqos_mgr.remember_btn_clicked("MAINWINDOW_TOOL_BTN");
    end;
};

main_bottom_control.init();
